﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FXnaWpfBase;

using ASApplication;


namespace ASPresentation
{
    public class TvModelCollection : MDTVIViewModel
    {

        public TvModelCollection(MDTVIViewModel parent,ModelData data)
            : base(parent)
        {

            this._modelData = data;


            this.LoadChildren();


        }


        public override string Desc
        {
            get
            {
                return "计算模型";
            }
        }


        ModelData _modelData;

        public ModelData ModelData
        {
            get { return _modelData; }
            set { _modelData = value; }
        }




        protected override void LoadChildren()
        {

            base.LoadChildren();

            TvAermodModel aermod = new TvAermodModel(this,this._modelData.AermodModel);
            this.Children.Add(aermod);
         




        }

    }
}
